package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile      string `gorm:"type:char(11);not null;comment:手机号"`
	Password    string `gorm:"type:varchar(32);not null;comment:密码"`
	Age         int    `gorm:"type:int(1);not null;comment:年龄"`
	Form        string `gorm:"type:varchar(20);not null;comment:籍贯"`
	Eamil       string `gorm:"type:varchar(20);not null;comment:邮箱"`
	HeaderImage string `gorm:"type:varchar(200);not null;comment:头像"`
}
